;Assembler header file for ExtEdit
;written by DefMod (Dec 31 2005) on Sat Dec 31 14:11:43 2005
;Tom Hughes, tom@compton.nu, 28 Oct 2001

        [       :LNOT: :DEF: ExtEdit_Hdr
        GBLS    ExtEdit_Hdr

        [       :LNOT: :DEF: Get_Types
        GBLS    Get_Types
        ]
        [       :LNOT: :DEF: Types_Hdr
Get_Types                       SETS    "GET oslib/Types.Hdr"
        |
Get_Types                       SETS    ""
        ]
        $Get_Types

;Symbols for constants
Message_ExtEditRq               *       &45D80
Message_ExtEditAck              *       &45D81
Message_ExtEditReturn           *       &45D82
Message_ExtEditAbort            *       &45D83
Message_ExtEditDataSave         *       &45D84
Message_ExtEditCursor           *       &45D85
ExtEdit_FileType                *       &FFFF
ExtEdit_SubType                 *       &FFFF0000
ExtEdit_SubTypeShift            *       16
ExtEdit_ClientHandle            *       &FFFF
ExtEdit_EditorHandle            *       &FFFF0000
ExtEdit_EditorHandleShift       *       16
ExtEdit_ContinueEditing         *       &1
ExtEdit_SelectionOnly           *       &2
ExtEdit_ReadOnly                *       &4
ExtEdit_ImmediateExecution      *       &8
ExtEdit_AdjustSelection         *       &10
ExtEdit_BeforeStart             *       0
ExtEdit_AfterEnd                *       -2
ExtEdit_NoChange                *       -1

;Symbols for structure offsets and sizes
                                ^       0
                                #       Bits
ExtEdit_DataType                *       @

                                ^       0
                                #       Bits
ExtEdit_JobHandle               *       @

                                ^       0
                                #       Bits
ExtEdit_Flags                   *       @

                                ^       0
ExtEdit_MessageRq_data_type     #       ExtEdit_DataType
ExtEdit_MessageRq_job_handle    #       ExtEdit_JobHandle
ExtEdit_MessageRq_flags         #       ExtEdit_Flags
ExtEdit_MessageRq_parent_name   #       20*Char
ExtEdit_MessageRq_leaf_name     #       204*Char
ExtEdit_MessageRq               *       @

                                ^       0
ExtEdit_MessageAck_data_type    #       ExtEdit_DataType
ExtEdit_MessageAck_job_handle   #       ExtEdit_JobHandle
ExtEdit_MessageAck_flags        #       ExtEdit_Flags
ExtEdit_MessageAck              *       @

                                ^       0
ExtEdit_MessageReturn_data_type #       ExtEdit_DataType
ExtEdit_MessageReturn_job_handle #       ExtEdit_JobHandle
ExtEdit_MessageReturn_flags     #       ExtEdit_Flags
ExtEdit_MessageReturn           *       @

                                ^       0
ExtEdit_MessageAbort_reserved   #       4*Byte
ExtEdit_MessageAbort_job_handle #       ExtEdit_JobHandle
ExtEdit_MessageAbort            *       @

                                ^       0
ExtEdit_MessageDataSave_job_handle #       ExtEdit_JobHandle
ExtEdit_MessageDataSave_reserved #       12*Byte
ExtEdit_MessageDataSave_est_size #       Int
ExtEdit_MessageDataSave_file_type #       Bits
ExtEdit_MessageDataSave_file_name #       212*Char
ExtEdit_MessageDataSave         *       @

                                ^       0
ExtEdit_MessageCursor_reserved  #       4*Byte
ExtEdit_MessageCursor_job_handle #       ExtEdit_JobHandle
ExtEdit_MessageCursor_flags     #       ExtEdit_Flags
ExtEdit_MessageCursor_new_cursor_pos #       Int
ExtEdit_MessageCursor_new_sos_pos #       Int
ExtEdit_MessageCursor_new_eos_pos #       Int
ExtEdit_MessageCursor_old_cursor_pos #       Int
ExtEdit_MessageCursor_old_sos_pos #       Int
ExtEdit_MessageCursor_old_eos_pos #       Int
ExtEdit_MessageCursor           *       @


        ]
        END
